package o;

import android.app.PendingIntent;
import com.huawei.appgallery.serverreqkit.api.bean.ResponseBean;
import com.huawei.hms.framework.network.restclient.hwhttp.route.IPRoute;
import java.util.Arrays;

public final class fgi {
    public static final fgi ˎ = new fgi(ResponseBean.NOT_FOUND);
    public static final fgi ˏ = new fgi(0);
    public static final fgi ॱ = new fgi(IPRoute.INTERVAL);
    private int ˊ;
    private String ˋ;
    private PendingIntent ᐝ;

    public fgi(int i) {
        this(i, null);
    }

    public fgi(int i, String str) {
        this(i, str, null);
    }

    public fgi(int i, String str, PendingIntent pendingIntent) {
        this.ˊ = i;
        this.ˋ = str;
        this.ᐝ = pendingIntent;
    }

    public int ˏ() {
        return this.ˊ;
    }

    public boolean ˎ() {
        return this.ˊ <= 0;
    }

    public int hashCode() {
        return Arrays.hashCode(new Object[]{Integer.valueOf(this.ˊ), this.ˋ, this.ᐝ});
    }

    public boolean equals(Object obj) {
        if (!(obj instanceof fgi)) {
            return false;
        }
        fgi o_fgi = (fgi) obj;
        if (this.ˊ == o_fgi.ˊ && ˎ(this.ˋ, o_fgi.ˋ) && ˎ(this.ᐝ, o_fgi.ᐝ)) {
            return true;
        }
        return false;
    }

    public String toString() {
        return getClass().getName() + " {\n\tstatusCode: " + this.ˊ + "\n\tstatusMessage: " + this.ˋ + "\n\tmPendingIntent: " + this.ᐝ + "\n}";
    }

    public static boolean ˎ(Object obj, Object obj2) {
        return obj == obj2 || (obj != null && obj.equals(obj2));
    }
}
